package com.fc.common.datasource.annotation;

import com.fc.common.datasource.DynamicDataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Description: 开启动态数据源
 * @ClassName: EnableDynamicDataSource
 * @Author: weisn
 * @Date: 2022/12/20 15:53
 * @Version: 1.0
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DynamicDataSourceAutoConfiguration.class)
public @interface EnableDynamicDataSource {
}
